//
//  DBJBaseViewController.m
//  DBJ
//
//  Created by 花化华 on 2016/11/12.
//  Copyright © 2016年 itcast. All rights reserved.
//

#import "DBJBaseViewController.h"
#import "SVProgressHUD.h"

@interface DBJBaseViewController ()

@end

@implementation DBJBaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self dbjSetupSubviews];
    [self dbjSetupNavigationItems];
}

- (void)dbjSetupSubviews{
    //239	239	243
    [self.view setBackgroundColor:[UIColor zbh_colorWithRed:239 green:239 blue:243]];
}

- (void)dbjSetupNavigationItems{}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    //将键盘缩回去,让控制器所管理的UIView结束编辑
    [self.view endEditing:YES];
}

@end
